/**
 * ClassName 部门实体数据集
 */
Ext.define("app.store.StaffStore",{
	extend:'Ext.data.Store',
	//model:'app.model.StaffModel',//引用model
	fields:[
		        
		        {name:'id',type:'string'},
		        {name:'name',type:'string'},
		        {name:'sex',type:'int'},
		        {name:'age',type:'int'},
		        {name:'address',type:'string'},
		        {name:'department',type:'string'},
		        {name:'birthday',type:'string'},
		        {name:'sid',type:'string'},
		        {name:'tel',type:'string'},
		        {name:'email',type:'string'},
		        {name:'area',type:'string'},
		        {name:'stime',type:'string'},
		        {name:'etime',type:'string'},
		        {name:'position',type:'string'},
		        {name:'rtime',type:'string'},
		]
	proxy:{//数据代理
		type:'ajax',//代理方式 ajax
		url:ROOT+'/index.php/Home/Index/find',//请求action 
		reader:{ //读取器 
			type:'json',//数据类型
			root:'data',//数据根节点
			totalProperty:'total',//数据总数
		},
		writer:{
			type:'json'
		}
	},
	pageSize:10, //每页数据量
	autoLoad:true,
})